package top.yuzt.noticeserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author yuzt
 * @since 2024-05-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Messages implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("MessageID")
    private Integer messageid;

    @TableField("GroupID")
    private Integer groupid;

    @TableField("SenderID")
    private Integer senderid;

    @TableField("MessageText")
    private String messagetext;

    @TableField("SentDateTime")
    private LocalDateTime sentdatetime;

    @TableField("Title")
    private String title;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getMessageid() {
        return messageid;
    }

    public void setMessageid(Integer messageid) {
        this.messageid = messageid;
    }

    public Integer getGroupid() {
        return groupid;
    }

    public void setGroupid(Integer groupid) {
        this.groupid = groupid;
    }

    public Integer getSenderid() {
        return senderid;
    }

    public void setSenderid(Integer senderid) {
        this.senderid = senderid;
    }

    public String getMessagetext() {
        return messagetext;
    }

    public void setMessagetext(String messagetext) {
        this.messagetext = messagetext;
    }

    public LocalDateTime getSentdatetime() {
        return sentdatetime;
    }

    public void setSentdatetime(LocalDateTime sentdatetime) {
        this.sentdatetime = sentdatetime;
    }
}
